#ifndef RKNNTHREAD_H
#define RKNNTHREAD_H



#include <QWidget>
#include <QThread>
#include <QStringList>



class RknnThread : public QThread
{
    Q_OBJECT
public:
    explicit  RknnThread(QObject *parent,int coreNum);
    ~RknnThread();


    void    run() override ;
    void    Stop();

    int     GetFps() {int nRes = m_nFps; m_nFps = 0; return nRes; }

signals:


private:
    QObject*            m_parent;
    int                 m_nFps;
    QString             m_AppPath;
    volatile  qint32    m_ThreadRun;
    volatile  qint32    m_Pause;
    int                 m_NpuCore;
};

#endif // RKNNTHREAD_H
